package mt.tests;

import static org.junit.Assert.*;

import javax.swing.JFrame;

import mt.client.MicroTraderOnlineGui;

import org.junit.Test;

public class MicroTraderOnlineGuiTest {

	@Test
	public void testMicroTraderOnlineGui() {
		MicroTraderOnlineGui mtog = new MicroTraderOnlineGui(new JFrame (), "1", null);
		assertNotNull(mtog);
	}

	@Test
	public void testSetNewPost() {
		MicroTraderOnlineGui mtog = new MicroTraderOnlineGui(new JFrame(), "2", null);
		mtog.setNewPost("abc123");
		assertNotNull(mtog);
	}

}
